<?php
/* SVN FILE: $Id$ */
/**
 *  The Footer for our theme.
 *
 *  Displays all of the footer section and everything up after <div id="main">
 *
 *  @package        CPConstruction
 *  @subpackage     Content
 *  @copyright      CP Construction (Gwent) Ltd <http://www.cpconstruction.co.uk/> 2012
 *  @author         Richard Perry <http: //www.perry-online.me.uk/>
 *  @since          Release 2.0.0
 *  @version        $Rev$
 *  @modifiedby     $LastChangedBy$
 *  @lastmodified   $Date$
 *
 *  @todo           ToDo List
 *                  -
 */
$options = get_option('cpcons_theme_options');
?>
        </div><!-- #main -->
        
        <div id='mission' class='lucida'>
            <span>Building with Quality and Care</span>
        </div><!-- #mission -->
        
        <div id='accreditations' >
            <img title='NFB Logo' 
                src='<?php bloginfo('template_directory'); ?>/images/nfb.png' />
            &nbsp; &nbsp; 
            <img title='Constructionline Logo'
                src='<?php bloginfo('template_directory'); ?>/images/constructionline.png' />
            &nbsp; &nbsp; 
            <img title='NHBC Logo'
                src='<?php bloginfo('template_directory'); ?>/images/nhbc.gif' />
            &nbsp; &nbsp; 
            <img title='IIP UK Logo'
                src='<?php bloginfo('template_directory'); ?>/images/iip.png' />
        </div><!-- #accreditations -->
        
        <footer id="footer">
            <div id="colophon">
                <nav id='footer-menu' role='navigation'>
                    <small>
                        <?php wp_nav_menu( array( 
                                'theme_location' => 'footer-menu',
                                'container' => '' ) ); ?>
                    </small>
                </nav><!-- #footer-menu -->
                <div id="site-info">
                    <small>
                        <?php if ( $options['copyright'] ) : ?>
                        &copy; 2012 <?php if ( date('Y') > '2012' ) echo "- " . date('Y'); ?> 
                        <?php echo $options['copyright']; ?> &nbsp; &nbsp; | &nbsp; &nbsp; 
                        <?php endif; ?>
                        <?php echo $options['registration']; ?>
                    </small>
                </div><!-- #site-info -->
                <?php if ( $options['company-info'] ) : ?>
                <div id="company-info">
                    <small><?php echo $options['company-info']; ?></small>
                </div><!-- #company-info -->
                <?php endif; ?>
            </div><!-- #colophon -->
        </footer><!-- #footer -->

    </div><!-- #wrapper -->
<?php wp_footer(); ?>
</body>
</html>